#ifndef PRIME_CORE_H
#define PRIME_CORE_H

#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif

// Basic prime operations
bool isPrime(int number);
int findNextPrime(int start);

// Prime distribution analysis
int* getPrimesInRange(int start, int end, size_t* count);
double calculatePrimeDensity(int start, int end);

// Performance testing
void benchmarkPrimeCalculation(int maxNumber, int iterations);

// Large number support
bool isPrimeLL(long long number);
long long findNextPrimeLL(long long start);

// Parallel computation
void setThreadCount(int threadCount);

#ifdef __cplusplus
}
#endif

#endif // PRIME_CORE_H